package com.yaowk.common.kit;

import java.util.Collection;

/**
 * 集合工具类
 *
 * @authc yaowk
 * 2017/4/21
 */
public class CollectionKit {

    public static boolean isNotEmpty(Collection c) {
        return !isEmpty(c);
    }

    public static boolean isEmpty(Collection c) {
        return c == null || c.isEmpty();
    }
}
